package cn.xgj.sfzy.service;

import cn.xgj.sfzy.entity.Question;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface QuestionService {
    int add(Question question);
    //修改
    int edit(Question question);
    //删除
    int remove(Integer id);
    //查
    List<Question> findAll(Question question);
    //根据id
    Question findById(Integer id);
    //分页查
    PageInfo<Question> findByPage(Integer pageNum, Integer ageSize, Question question);

}
